package com.fredhat.tvshowrenamer.parser.tvcom;

import java.util.Calendar;

public class TVComEpisode {
	private int seasonNumber;
	private int episodeNumber;
	private int cumNumber;
	private String title;
	private Calendar airDate;
	
	public TVComEpisode(int seasonNumber, int episodeNumber, int cumNumber,
			String title, Calendar airDate) {
		this.seasonNumber = seasonNumber;
		this.episodeNumber = episodeNumber;
		this.cumNumber = cumNumber;
		this.title = title;
		this.airDate = airDate;
	}

	public int getSeasonNumber() {
		return seasonNumber;
	}

	public int getEpisodeNumber() {
		return episodeNumber;
	}

	public int getCumNumber() {
		return cumNumber;
	}

	public String getTitle() {
		return title;
	}

	public Calendar getAirDate() {
		return airDate;
	}
	
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("[TVComEpisode ").append("seasonNumber=").append(seasonNumber);
		sb.append(", episodeNumber=").append(episodeNumber);
		sb.append(", cumNumber=").append(cumNumber);
		sb.append(", title=").append(title);
		sb.append(", airDate=").append(airDate);
		sb.append("]");
		return sb.toString();
	}
}
